package com.example.demo.entity;

public class Order_Main {
    private int id;
    private int desk_id;
    private int paytype;
    private int status;
    private String code;
    private String date;
    private double amount;
    private double reamount;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDesk_id() {
        return desk_id;
    }

    public void setDesk_id(int desk_id) {
        this.desk_id = desk_id;
    }

    public int getPaytype() {
        return paytype;
    }

    public void setPaytype(int paytype) {
        this.paytype = paytype;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public double getReamount() {
        return reamount;
    }

    public void setReamount(double reamount) {
        this.reamount = reamount;
    }


    private String desk_name;


    public String getDesk_name() {
        return desk_name;
    }

    public void setDesk_name(String desk_name) {
        this.desk_name = desk_name;
    }


    public static String[] statuss = {"正常", "已上菜", "已上全菜", "已离开", "已全部退费"};

    public String getStatusname() {
        return statuss[status];
    }

    public static String[] paytypes = {"微信", "支付宝"};

    public String getPayTypename() {
        return paytypes[paytype];
    }


    public Order_Main() {
        super();
    }


}



